class User:
    def test(self):
        print('self param',self)
u=User()
u.test()
foo=u.test
foo()
